<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>首页</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no "/>
		<link rel="stylesheet" type="text/css" href="stylesheets/bootstrap.css"/>
		<link rel="stylesheet/less" href="stylesheets/index3.less" type="text/css"/>
		<link rel="stylesheet" type="text/css" href="stylesheets/animate.css"/>
		<script src="js/less.js"></script>
		<script src="js/template.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div class="guard">			
		</div>
		<div class="navMenu">
			<header>
				<h1>板块浏览</h1>
			</header>
			<div class="input-group">
				<label for="" class="input-group-addon"><span class="glyphicon glyphicon-search"></span></label>
				<input type="search" name="searchSection" id="searchSection" value="" placeholder="请输入版块名称" class="form-control" />
			</div>
			<div class="hideScroll">
			<div class="navContainer">			
				<ul class="list-group" id="navContainer">
					
				</ul>
				
			</div>
			<footer>
				<button type="button" class="btn btn-default closeLeftMenu" style="color: lightcoral;border: none;position: absolute;bottom: 20px;border-radius: 0 30px 30px 0;">关闭</button>
			</footer>
			</div>
		</div>
		<div class="main">
			<header>
				<div class="headerContainer ">
					<a class="menuButton">
						<span class="glyphicon glyphicon-align-justify"></span>
					</a>
					<span class="glyphicon glyphicon-info-sign titleMessage"></span>
					<span class="title">综合版</span>
					<span class="badge dataCount" style="background-color: white;color: #337AB7;">10</span>
					<a href="search2.html" class="searchBtn">
						<span class="glyphicon glyphicon-search"></span>
					</a>
				</div>			
			</header>
			<div class="listContainer" id="remind" >			
				<ul class="list-group" >
					<li class="list-group-item ">新的回复<span class="badge pull-right newReply " >0</span><span class="badge new" style="background-color: lightcoral;color: white;display: none;">new</span> </li>
					<!--<li class="list-group-item">新的注目<span class="badge" id="newHistory">0</span><span class="badge new" style="background-color: lightcoral;color: white;display: none;">new</span></li>-->
					<li class="list-group-item">新的订阅<span class="badge" id="newSubscribe">0</span><span class="badge new" style="background-color: lightcoral;color: white; display: none;">new</span></li>
					<li class="list-group-item text-danger noRemind">点击提醒</li>
				</ul>
			</div>
			
			<section id="data-content">
					
			
			</section>
				<!--<footer class="loading">
					<div>
						<span class="glyphicon glyphicon-cloud-upload iconM"></span><span class="loadText">上拉加载</span>						
					</div>
				</footer>-->
		
		</div>
				
		<div class="shortcutBtn" style="display: none;">
			<div class="container">
				<span id="backTop" class="glyphicon glyphicon-chevron-up"></span>
				<span id="backBottom" class="glyphicon glyphicon-chevron-down"></span>
			</div>
		</div>
		<section >
			<div class="btn-group" id="nav" style="display: none;" >
				<a href="#" class="btn btn-default" ><span class="glyphicon glyphicon-home"></span></a>
				<a   class="btn btn-default posting"><span class="glyphicon glyphicon-plus"></span></a>
				<a  class="btn btn-default userInfo"><span class="glyphicon glyphicon-user"></span></a>
			</div>
		</section>
		
	</body>
</html>
<script id="mainTemplate" type="text/html">
	<ul class="list-group" style="margin: 0;">
	{{each main as data index }}
			<li class="list-group-item moveTheme" data-id="{{data.id}}">
				<!--<div class="list-group-item-heading mheader">
					<span class="sectionID">{{data.id}}</span> 
					<span class="pull-right sectionTime">{{data.update_time}}</span>
				</div>-->
				<div class="list-group-item-text messageCon">
					<div class="author">
						
						<img src="{{data.user_info.img_url}}" class="authorPhoto"/>
						<p>id:{{data.user_info.id}}</p>
						<!--<p class="userID"></p>-->
					</div>
					<div class="message">
					<!--	{{data.content}}dwadkawodjaijdliadliajwdliajlidawjlidajwli-->
						<div class="mc">
							
						</div>
						<div class="img">
							<img src="{{data.out_img}}"  />
						</div>
						<span class="pTime">{{data.update_time}}</span>
					</div>
				</div>
				<div class="list-group-item-text listFooter">
					<span class="glyphicon glyphicon-heart-empty likeWC" ></span>
					<span class="favaCount">{{data.like_num}}</span>
					<div class="pull-right">
						<span class="glyphicon glyphicon-envelope readWC" ></span>
						<span class="readCount">{{data.content_num}}</span>
					</div>
					
				</div>
			</li>
	{{/each}}
	</ul>
</script>
<script id="leftNavTemplate" type="text/html">
	
	{{each leftNav as data index}}
		<li class="list-group-item listOnce" data-open=false data-id="{{data.id}}">
			<span class="titleOnce">{{data.forum_name}}</span><span class="glyphicon glyphicon-triangle-right pull-right"></span>
		</li>
		<ul class="list-group listSecond" >
			{{each data.sub_forum as data index}}
				<li class="list-group-item theme" data-id="{{data.sub_forum_id}}">{{data.sub_forum_name}}</li>
			{{/each}}
		</ul>
	{{/each}}

</script>

<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
<script src="javascripts/index3.js" type="text/javascript" charset="utf-8"></script>
